<template>
  <BasicContainer>
    <ElScrollbar class="main">
      <iframe :src="src" class="iframe"></iframe>
    </ElScrollbar>
  </BasicContainer>
</template>

<script>
  import { getToken } from '@/util/auth'

  export default {
    computed: {
      src: function () {
        const accessToken = getToken()
        return `/aj?token=${accessToken}`
      }
    },

    methods: {}
  }
</script>

<style lang="scss" scoped>
  .iframe {
    box-sizing: border-box;
    width: 100%;
    height: 70vh; /* 设置高度百分比,一直调到只有一个滚动调为止 */
    overflow: hidden;
    border: 0;
  }
</style>
